import axios from '@/libs/api.request'

export const getList = info => {
  return axios.request({
    url: 'order/makeOrder',
    data: info,
    method: 'post'
  })
}

export const getDetail = info => {
  return axios.request({
    url: 'order/detail',
    data: info,
    method: 'post'
  })
}

export const setEstate = info => {
  return axios.request({
    url: 'order/setEstate',
    data: info,
    method: 'post'
  })
}
export const cancelMakeOrder = info => {
  return axios.request({
    url: 'order/cancelMakeOrder',
    data: info,
    method: 'post'
  })
}
 

 export const exportData = info => {
   return axios.request({
     url: 'order/exportData',
     data: info,
     method: 'post'
   })
 }
